package com.maodou.android.ui.page.login

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.outlined.KeyboardArrowLeft
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import com.maodou.core.navigation.Navigator3
import com.maodou.core.ui.components.ActionBar
import com.maodou.core.ui.components.TitleAlignment

/**
 * @Author Xing
 * @CreateTime 2025年11月20日
 * @Description 忘记密码找回
 */

@Composable
fun ForgotScreen(){
    Box(modifier = Modifier.fillMaxSize().background(Color(0xffFCFCFD))) {

        Column (modifier = Modifier.fillMaxSize().verticalScroll(rememberScrollState())) {

            LoginTopLogo()
        }


        ActionBar(
            title = "",
            modifier = Modifier.fillMaxWidth(),
            navigationIcon = Icons.AutoMirrored.Outlined.KeyboardArrowLeft,
            onNavigationClick = {
                Navigator3.pop()
            },
            backgroundColor = Color.Transparent,
            contentColor = MaterialTheme.colorScheme.onSurfaceVariant,
            titleAlignment = TitleAlignment.Start,
        )

    }
}